home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / xcmd / xfcnmscl.sit / XFCN miscellany / card_3171.txt < prev    next >
Text File  |  1987-11-22  |  3KB  |  91 lines

  1. -- card: 3171 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2690
  5. -- name: MultiBugs
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 0000
  11. -- rect: left=141 top=57 right=75 bottom=361
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 8448
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 2 (field)
  23. -- low flags: 01
  24. -- high flags: 0000
  25. -- rect: left=14 top=86 right=300 bottom=496
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 3
  30. -- text size: 10
  31. -- style flags: 0
  32. -- line height: 13
  33. -- part name: 
  34.  
  35.  
  36. -- part 3 (button)
  37. -- low flags: 00
  38. -- high flags: 0000
  39. -- rect: left=138 top=136 right=155 bottom=160
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: 
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   set the visible of card field "RootNote" to not the visible of card field "RootNote"
  51. end mouseUp
  52.  
  53.  
  54.  
  55. -- part 4 (field)
  56. -- low flags: 81
  57. -- high flags: 0004
  58. -- rect: left=196 top=102 right=148 bottom=476
  59. -- title width / last selected line: 0
  60. -- icon id / first selected line: 0 / 0
  61. -- text alignment: 0
  62. -- font id: 3
  63. -- text size: 10
  64. -- style flags: 0
  65. -- line height: 13
  66. -- part name: RootNote
  67. ----- HyperTalk script -----
  68. on mouseUp
  69.   set the visible of Me to not the visible of Me
  70. end mouseUp
  71.  
  72.  
  73.  
  74. -- part contents for card part 1
  75. ----- text -----
  76. MultiFinder & Hypercard: the bugs.
  77.  
  78. -- part contents for card part 2
  79. ----- text -----
  80. AppleΓÇÖs Technical Note #169 ΓÇ£HyperCard 1.0.1 AnomaliesΓÇ¥┬ádescribes the known problems in the released version of HyperCard. It should be required reading for serious stack authors! A copy can be found on CompuServe, Delphi, Genie etc., as well as directly from APDA.
  81.  
  82. The most serious is in the behavior of the open command. Attached documents canΓÇÖt be found unless they are at the root* of the volume. The InvokeApplication handler in the stack script shows one way of getting around this problem ΓÇö┬áit copies documents to the root automatically if you're running under MultiFinder and don't want to sublaunch. The handler doesnΓÇÖt take the logical next step of moving them back to their old location when HyperCard resumes execution 
  83. (you have to manually start it again from the Finder). This is easy enough to do ΓÇö┬ásave the original location of the document in an invisible card field in your home stack. In the Home 
  84. stackΓÇÖs resume script, check to see if this field is empty. If itΓÇÖs not, then move the document back.
  85.  
  86. When the next release of HyperCard comes out, you should be able to discard such hacks (and the SubLaunch XFCN).
  87.  
  88. -- part contents for card part 4
  89. ----- text -----
  90. The root of a volume is the top level. For instance, file 
  91. "HD:Document" is at the root of volume "HD". However, file "HD:Folder:Document" is not.